<?php 
	if ( is_singular() ) : 
		$attachs = __get_attachs( $post->ID, 'application/pdf' );
		if ( count($attachs) > 0 ) :
?>
<ul class="entry-attachs">
<?php 
			foreach( $attachs as $attach ) {
				$url = $attach->guid;
				$file = basename( $url );
				$link = "<a href='".$url."'>".$file."</a>";
				$size = __get_filesize( $attach->ID );
				$item = sprintf(__('Read more in %s (%s)','nucleo'), $link, $size );
				print "<li>".$item."</li>\n";
			}
?>
</ul>
<?php 
		endif; 
	endif; 
?>
